package com.qinggeng.project.system.service;

import com.qinggeng.project.api.dto.ShareDto;
import com.qinggeng.project.system.domain.Share;

import java.util.List;

public interface IShareService {

    int insertShare(Share share);

    int deleteShareByIds(Long[] ids);

    int updateShare(Share share);

    /**
     * 根据ID查询分享内容
     * @param id
     * @return
     */
    ShareDto selectShareDtoById(Long id);

    ShareDto selectShareDtoByType(String type);
}
